
<!DOCTYPE html>
<html lang="zh-CN" xmlnx:th xmlns:xmlnx="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>登录</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="../plugins/js/bootstrap.min.js"></script>
    <script type="text/javascript">

       /* $(function(){
            alert("1111");
        });*/

        <!--$('#loginButton').on('click', function () {
        alert("1111");
            $.ajax({
                type: "GET",
                url: "/dev/login",
                data: {
                    "UserName": $("#UserName").val(),
                    "PassWord": $("#PassWord").val(),
                },
                success: function (msg) {
                    if (msg == "success") {
                        window.location.assign("users/index.html");
                    } else {
                        alert("用户名或密码错误！");
                    }
                }
            });
        });-->
    </script>
</head>

<body>

<div class="container">

    <form class="form-signin" action="/dev/login" method="post">
        <h2 class="form-signin-heading">Please sign in</h2>
        <label for="UserName" class="sr-only">Email address</label>
        <input type="text" id="UserName" name="UserName" class="form-control" placeholder="UserName" required autofocus>
        <label for="PassWord" class="sr-only">Password</label>
        <input type="password" id="PassWord" name="PassWord" class="form-control" placeholder="PassWord" required>
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> Remember me
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    </form>

</div> <!-- /container -->

</body>
</html>
